<center>
<div class="contentIsi">
    <?php $this->load->view('panel_samping')?>
    <div class="isi">
        <div class="news">
            <h1>Daftar Mahasiswa <?php echo strtoupper($fakultas) ?></h1>
            <br/>
            <br />
            <div class="listofuser">
            <script type="text/javascript" charset="utf-8">
				$(document).ready(function() {
					$('#tabel_mahasiswa').dataTable({
						"sPaginationType":"full_numbers",
						"bStateSave": true,
						"aoColumnDefs": [{ "bVisible": false, "aTargets": [ 3 ] }]
					});
				} );
			</script>
                <table align="center" width="500" id="tabel_mahasiswa">
                    <thead>
						<tr>
							<th>NIM</th>
							<th>Nama</th>
							<th>Asal</th>
							<th>Angkatan</th>
						</tr>
					</thead>
                    <tbody>
					<?php
						for($i=0;$i<count($row);$i++){
							echo '<tr>';
							echo '<td><a href="'. base_url() .'home/profil_mahasiswa/'. $row[$i]['idmhs'] .'">'. $row[$i]['nim'] .'</td>';
							echo '<td>'. ucwords(strtolower($row[$i]['nama'])) .'</td>';
							echo '<td>'. ucwords(strtolower($row[$i]['asal'])) .'</td>';
							echo '<td>'. ucwords(strtolower($row[$i]['angkatan'])) .'</td>';
							echo '</tr>';
						}
					?>
                    </tbody>
				</table>
            </div>
        </div>
    </div>
    <?php $this->load->view('panel_kanan')?>
</div>

</center>
